from django.urls import path
from . import views


urlpatterns = [
    # 创建订单、获取订单列表
    path("api/v1.0/orders", views.CreateOrderView.as_view()),
    # 房东接单或拒单
    path("api/v1.0/orders/<int:order_id>/status", views.SignOrdersView.as_view()),
    # 客户评价订单
    path("api/v1.0/orders/<int:order_id>/comment", views.AppraiseOrderView.as_view()),

]
